/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package View;

import java.awt.geom.Line2D;

import Model.Edge;
/**
 *
 * @author pol
 */
public class EdgeView extends Line2D.Double  {
    
    public EdgeView(String n, double x1, double y1, double x2, double y2) {
        super(x1, y1, x2, y2);
        name = n;
        startX = x1;
        startY = y1;
        endX = x2;
        endY = y2;
    }
 
    public String name;
    private double startX;
    private double startY;
    private double endX;
    private double endY;
}
